#include <iostream>

using namespace std;

int main()
{
	double sum;
	int cnt;
	cin >> sum >> cnt;

	printf("%.3lf\n%d\n", sum / cnt, cnt * 2);

	return 0;
}